﻿using System.Xml.Serialization;

namespace Yun.Marketing
{
    public class RedEnvelopeAmount
    {
        /// <summary>
        /// 红包资金类型，0是余额，1是积分
        /// </summary>
        [XmlElement("red_envelope_funds")]
        public int RedEnvelopeFunds { get; set; }

        /// <summary>
        /// 红包总金额
        /// 现金和积分均采用最小单位，现金单位为分
        /// </summary>
        [XmlElement("total_amount")]
        public int TotalAmount { get; set; }


        /// <summary>
        /// 总个数
        /// </summary>
        [XmlElement("total_number")]
        public int TotalNumber { get; set; }
    }
}
